/**
 * @author Voislav Jovanovic <voislavj@gmail.com>
 * @name Main Javascript
 */

function MouseOver(list){
	list.find("a").each(function(){
		$(this).mouseover(function(){
			var img = $(this).find("img");
			img.attr("src", img.attr("src").replace(/\.(.*?)$/, "_h.$1"));
		});
		$(this).mouseout(function(){
			var img = $(this).find("img");
			img.attr("src", img.attr("src").replace(/_h\.(.*?)$/, ".$1"));
		});
	});
}